package ca.jsbr.tinyUI 
{
	import ca.jsbr.as2js_lib.display.canvas.Node2D;
	import ca.jsbr.display.tinyUI.utils.styles.TinyStyle;
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.text.TextFormat;
	/**
	 * ...
	 * @author JSBR [jsricard@lvlstudio.com]
	 */
	public class TinyObject extends Node2D
	{
		static private var _styleglobal:TinyStyle;
		private var _textFormat:TextFormat;
		protected var _width:Number=0;
		protected var _height:Number=0;
		protected var _font:String;
		protected var _style:TinyStyle;

		
		public function redraw(child:Boolean=false):void
		{
			if (child)
			{
				for (var i:int; i < numChildren; i++)
				{
					if (getChildAt(i) is TinyObject)
					{
						TinyObject(getChildAt(i)).redraw(child);
					}
				}
			}
		}
		
		

	}

}